package com.ukao.steward.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by ukaodev on 2017/12/5.
 */

public class businessWholeBean  extends  BaseListBean<businessWholeBean> {



        /**
         * name : 洗衣
         * id : 15
         * typeList : [{"name":"下装","id":42,"businessId":1},{"name":"下装","id":42,"businessId":1},{"name":"下装","id":42,"businessId":1},{"name":"下装","id":42,"businessId":1},{"name":"下装","id":42,"businessId":1}]
         */
        private   String  mercBusinessId;
        private String name;
        private String id;
        private List<TypeListBean> typeList;
    private   String  businessId;
        public String getName() {
            return name;
        }


    public String getMercBusinessId() {
        return mercBusinessId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setName(String name) {
            this.name = name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<TypeListBean> getTypeList() {
            return typeList;
        }

        public void setTypeList(List<TypeListBean> typeList) {
            this.typeList = typeList;
        }

        public static class TypeListBean implements Parcelable {
            /**
             * name : 下装
             * id : 42
             * businessId : 1
             */

            private String name;
            private String id;
            private String businessId;

            public   TypeListBean( String name ,String id,String  businessId ){
                this.name=name;
                this.id=id;
                this.businessId=businessId;
            }



            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getBusinessId() {
                return businessId;
            }

            public void setBusinessId(String businessId) {
                this.businessId = businessId;
            }


            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.name);
                dest.writeString(this.id);
                dest.writeString(this.businessId);
            }

            protected TypeListBean(Parcel in) {
                this.name = in.readString();
                this.id = in.readString();
                this.businessId = in.readString();
            }

            public static final Creator<TypeListBean> CREATOR = new Creator<TypeListBean>() {
                @Override
                public TypeListBean createFromParcel(Parcel source) {
                    return new TypeListBean(source);
                }

                @Override
                public TypeListBean[] newArray(int size) {
                    return new TypeListBean[size];
                }
            };
        }
    }

